package com.note.es.vo;

import lombok.Data;
import org.elasticsearch.common.Strings;
import org.elasticsearch.index.query.QueryBuilder;

@Data
public class ScrollSearchRequestVO {

    private String[] indexName;
    private String type;
    private Integer limit = 100;
    private String scrollId;
    private Integer keepAlive;//游标ID保持存活时间，单位:秒
    private String[] includeFields = Strings.EMPTY_ARRAY;//只要哪些字段
    private String[] excludeFields = Strings.EMPTY_ARRAY;//排除哪些字段
    private QueryBuilder queryBuilder;//构建的查询条件

}
